package com.zjitc.service;

import com.zjitc.dao.CustomerDao;
import com.zjitc.pojo.Customer;
import java.sql.SQLException;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/15 16:32
 * @description:
 */
public class CustomerService {

  private CustomerDao custormerDao = new CustomerDao();

  public List<Customer> display() throws SQLException {
    List<Customer> display = custormerDao.display();
    return display;

  }
}
